import axios from "axios";



const instance = axios.create({
  baseURL: '/api',
  timeout:3000,
  responseType:"text"
})

export function post(url, params){
  return instance.post(url, params)
}

export function get(url, params){
  return instance.get(url, params)
}
